package com.cole.gx095.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class StockVo {
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date billDate;
    private String billType;

    private int id; //Stockgoods
    private Integer contractId;
    private String contractNum;
    private Integer billId;
    private String billNum;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createDate;
    private String typeName;
    private String goodsName;
    private String modle;
    private Integer correlationAccount;
    private Integer remainAccount;
    private Integer goodsAccount;
    private Double goodsUnitPrice;
    private Double goodsSumPrice;
    private String remakes;
}
